# -*- coding: utf-8 -*-
# __author__ :Li
# 2022/5/6 14:52
# 店铺查询API

#查询店铺
def shops_query(self,page_index=1,page_size = 100,nicks = None):
    '''
    :param self:
    :param page_index:第几页，默认第一页
    :param page_size:每页多少条；默认100条，最大100条
    :param nicks: list 店铺主账号，不支持模糊查询，非必填项，默认查所有
    :return:
    '''
    path = '/open/shops/query'
    params = {
        'page_index':page_index,
        'page_size':page_size
    }
    if nicks is not None:
        params['nicks'] = nicks
    return self.request(path=path,data=params)

#物流公司查询
